package cn.codeforfun.user;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2017/2/15 0015.
 */
@Repository
public interface UserDao extends JpaRepository<User, Long>, UserDaoCustom {
    List<User> findByUsernameAndPassword(String username, String password);
}
